package net.roseparadise.dao;
// default package

import java.util.List;

import net.roseparadise.model.Portrait;

public interface PortraitDAO {
        
    public void save(Portrait transientInstance);
    
	public void delete(Portrait persistentInstance);
    
    public Portrait findById( java.lang.Integer id);
    
    public List<Portrait> findByExample(Portrait instance);
    
    public List findByProperty(String propertyName, Object value) ;

	public List<Portrait> findByFilename(Object filename);
	
	public List<Portrait> findByPath(Object path);
	
	public List<Portrait> findByUploaddate(Object uploaddate);

	public List findAll() ;
	
    public Portrait merge(Portrait detachedInstance);



}